﻿@model MvcWesbNews.Models.DetailNew

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<fieldset>
    <legend>DetailNew</legend>

    <div class="display-label">GroupNew</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.GroupNew.Caption)
    </div>

    <div class="display-label">Title</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Title)
    </div>

    <div class="display-label">Shortcut</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Shortcut)
    </div>

    <div class="display-label">Picture</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Picture)
    </div>

    <div class="display-label">Body</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Body)
    </div>

    <div class="display-label">CreateDate</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.CreateDate)
    </div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.NewsID }) |
    @Html.ActionLink("Back to List", "Index")
</p>
